<%--
  Created by IntelliJ IDEA.
  User: 34314
  Date: 2025/5/21
  Time: 21:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!-- src/main/webapp/success.jsp -->
<!DOCTYPE html>
<html>
<head>
    <title>登录成功</title>
</head>
<body>
<h1>登录成功</h1>
<p>欢迎回来，${user.username}！</p>

<h3>个人信息</h3>
<table border="1">
    <tr>
        <td>专业班级</td>
        <td>${user.major}</td>
    </tr>
    <tr>
        <td>家庭住址</td>
        <td>${user.address}</td>
    </tr>
    <tr>
        <td>联系电话</td>
        <td>${user.phone}</td>
    </tr>
    <tr>
        <td>籍贯</td>
        <td>${user.hometown}</td>
    </tr>
</table>

<a href="login.jsp">返回登录</a>
</body>
</html>